import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import router from './router'
import store from './store'
import dayjs from 'dayjs'
import { Service } from './services/service'

Vue.use(ElementUI)

Vue.config.productionTip = false
// 封装axios服务
Vue.prototype.$axios = Service
Vue.prototype.$dayjs = dayjs

new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount('#app')
